<?php 
/* P3(c)

******************************************************************************
                                                                                      
                         __                                                        
                        /__)                                                       
                       /__        P3 - moving Technologie            
                        __)                                                          
                        __)                                                          
                                                                                        
                                                                                        
       Copyright 2009 by p3.co.at                                                                                 
                                                                                        
       visit www.p3.co.at to get more Informations 
       about Teriko - Betriebsdatenerfassung                                                                                 
       - it's not allowed to change this scripts
       - it's not allowed to remove this copyright-tag

       -- you can download the complete license   
          under http://www.teriko.org

 (c) by Patrik Pfaffenbauer and P3 (http://www.p3.co.at)

 | Programname: P3.Teriko
 | Authtor: P3.Verein
 | Coder: Patrik Pfaffenbauer
 | Version: 0.1

 | Change Index
 |_____________________________________________
 |                                             |
 |4.3.2010 Erstellung | Patrik Pfaffenbauer    |
 |_____________________________________________|

******************************************************************************

P3(c) */

class HeaderBar
{
	public function HeaderBar()
	{
		session_start();
		$site = $_GET['s'];

		if($_SESSION['loggedIn'] == "")
		{
			return;
		}

		
		 echo '
		<div id="header-box">
			<div id="module-status">
				<span class="time">
					<a href="javascript::void(0);" onclick="Load(\'getData.php?action=time\',\'time\')">
						'.$GLOBALS['lang']->GetLanguage("Common", "time").'
					</a>
				</span>
				<span class="logout">
					<a href="index.php?s=login&action=logout">
						'.$GLOBALS['lang']->GetLanguage("Login", "logoff").'
					</a>
				</span>
			</div>';
		 new Menue();
		 echo '</div></div>';
	}
}
?>